package yl.hs.bmipfull.pojo.report;

import lombok.Data;
import lombok.EqualsAndHashCode;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/*
 * ProductionDayReportEntity
 * @category
 * @author 谢景广
 * @date 2023-02-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@DBTable(disName = "生产日报", mapCode = "production_day_report")
public class ProductionDayReportEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,mapCode = "sn",snPrefix = "SCRB")
    private String sn;
    private Date day;
    private Date startTime;
    private Date endTime;
    private BigDecimal monthOutput = BigDecimal.ZERO;
    private BigDecimal dayOutput = BigDecimal.ZERO;
    private BigDecimal monthlyIntake = BigDecimal.ZERO;
    private BigDecimal dayIntake = BigDecimal.ZERO;
    private BigDecimal dayReturnQuantity = BigDecimal.ZERO;
    private BigDecimal monthlyReturnQuantity = BigDecimal.ZERO;
    private BigDecimal transReturnQuantity = BigDecimal.ZERO;
    private BigDecimal scrapQuantity = BigDecimal.ZERO;
    private String keepRecord;
    private String qualityProblem;
    private String deviceProblem;
    private String planOverhaul;
    private String unscheduledShutdown;
    private int downtime;
    private String legacyProblem;
    private String dutyOfficerSN;
    private String dutyOfficerName;
    private short state;
    private String productCateSN;
    private String organizeCode;
    private String contractUnit;
}
